﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using MaxLeaf.Platform.DataContract;

namespace MaxLeaf.Platform.Contract
{
    /// <summary>
    /// 商品相关操作
    /// </summary>
    [ServiceContract]
    [ServiceKnownType(typeof(List<goods_categoryDataModel>))]
    [ServiceKnownType(typeof(SCPCategoryDataModel))]
    public interface IGoodsProcess
    {
        [OperationContract]
        double GetWebPrice(int intGoodsID, int intUnitID, int intAreaID, int intUserID, int intPriceType);

        //[OperationContract]
        //List<ImInvMasterDataModel> GetNoInvLocItems(int intCompanyID,int intGoodsID);

        [OperationContract]
        double GetRate(int intGoodsID, int intUnitID);

        [OperationContract]
        SCPCategoryDataModel GetSCPCategory(int intUserID, int intGoodsID, bool blnTop);


        [OperationContract]
        List<goods_categoryDataModel> GetGoodCateGoryBySCPCategory(int intCompanyID, int intSCPCategoryID);

        [OperationContract]
        List<string> GetUserKeywords(int intCompanyID, string strStKeywords, int intCount);
    }
}
